<?php
define("_ROOT",".");
include _ROOT."/mainfile.php";
function show_xna_content($newsid) {
	global $PlusDB;
	$xnanews = $PlusDB->prefix("xna_news");
	$sql="select news_description from $xnanews where id='$newsid' ";
	$content = $PlusDB->getone($sql);
	$name="newscontent".$newsid;
	$objResponse = new xajaxResponse();
	$objResponse->addAssign($name, "innerHTML", $content);
	return $objResponse->getXML();
}
require(_ROOT."/ajax/changeContent.php");
$xajax->processRequests();
?>